package com.atom.common.entity.dj;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;
/**
 * Title: FileDO
 * Description: 文件表，包含正文、附件、相关报批件、授权委托书、合同审定记录
 * @author WEWE
 * @date 2016年6月21日 上午9:50:14
 * @version 1.0
 */
@Entity
@Table(name="dj_common_file") 
public class DjFileDO implements Serializable {
  
  /** serialVersionUID*/
  private static final long serialVersionUID = 1L;
  
  /** ID*/
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)    
  @Column(name="id")
  @JsonIgnore
  private int id;
  
  /** 任务ID*/
  @Column(name="taskid")
  @JsonIgnore
  private String taskId;
  
  /** 流程ID*/
  @Column(name="processid")
  @JsonIgnore
  private String processInstanceId;
  
  /** 文件类型*/
  @Column(name="filetype")
  @JsonIgnore
  private int fileType;
  
  /** 文件名称*/
  @Column(name="wjmc")
  private String fileName;
  
  /** 文件上传时间*/
  @Column(name="lrsj")
  @JsonIgnore
  private Date createTime;
  
  /** 文件大小*/
  @Column(name="filesize")
  private String fileSize;

  /** 文件地址*/
  @Column(name="wjdz")
  private String fileKey;
  
  /** 创建人*/
  @Column(name="lrr")
  private String createUser;
  @Column(name="lrrmc")
  private String createUserText;
  
  /** 删除标记*/
  @Column(name="DISABLED")
  @JsonIgnore
  private boolean disabled;

  /** 单据编号*/
  @Column(name="djbh")
  private String danJuBianHao;  
  
  public DjFileDO() {
    super();
  }  
  
  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getProcessInstanceId() {
    return processInstanceId;
  }

  public void setProcessInstanceId(String processInstanceId) {
    this.processInstanceId = processInstanceId;
  }

  public int getFileType() {
    return fileType;
  }

  public void setFileType(int fileType) {
    this.fileType = fileType;
  }

  public String getFileName() {
    return fileName;
  }

  public void setFileName(String fileName) {
    this.fileName = fileName;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getFileKey() {
    return fileKey;
  }

  public void setFileKey(String fileKey) {
    this.fileKey = fileKey;
  }

  public boolean isDisabled() {
    return disabled;
  }

  public void setDisabled(boolean disabled) {
    this.disabled = disabled;
  }

  public String getTaskId() {
    return taskId;
  }

  public void setTaskId(String taskId) {
    this.taskId = taskId;
  }

  public String getFileSize() {
    return fileSize;
  }

  public void setFileSize(String fileSize) {
    this.fileSize = fileSize;
  }

  public String getCreateUser() {
    return createUser;
  }

  public void setCreateUser(String createUser) {
    this.createUser = createUser;
  }

  public String getCreateUserText() {
    return createUserText;
  }

  public void setCreateUserText(String createUserText) {
    this.createUserText = createUserText;
  }

public String getDanJuBianHao() {
	return danJuBianHao;
}

public void setDanJuBianHao(String danJuBianHao) {
	this.danJuBianHao = danJuBianHao;
}
  


}
